Skip to content

ci(lint): scope mise installs and add job timeouts#179

Merged
DevSecNinja merged 1 commit into
mainfrom
ci/lint-dprint-reliability
Jun 18, 2026
Merged

ci(lint): scope mise installs and add job timeouts#179
DevSecNinja merged 1 commit into
mainfrom
ci/lint-dprint-reliability

Conversation

@DevSecNinja

@DevSecNinja DevSecNinja commented Jun 18, 2026

Copy link
Copy Markdown
Owner

Why

Every linter job in the reusable lint.yml installs the full 14-tool mise toolchain even
though it only runs one tool, and no job has a timeout — so a stuck step (e.g. the dprint job
waiting on a slow plugins.dprint.dev) can run to the 6 h default.

The dprint plugin caching + integrity checksum (the actual hang fix) is split into a
separate, stacked PR: #180.

What changed

.github/workflows/lint.yml

  • Scope mise installs — each job passes install_args to jdx/mise-action so it installs
    only the tool it runs (e.g. dprint, actionlint, uv pipx:yamllint) instead of all 14.
    Faster installs, smaller per-job cache, less network.
  • Job timeouts — every job gets timeout-minutes (10, or 15 for checkov/trivy/go) so a stuck
    step fails fast instead of burning hours.

Validation

actionlint ✅ · yamllint ✅ (repo config). Committed through lefthook hooks (no --no-verify).

Each linter job now installs only the tool it runs via mise-action
install_args instead of the full 14-tool toolchain, and every job gets a
timeout-minutes cap so a stuck step fails fast instead of running to the
6h default.
@DevSecNinja DevSecNinja force-pushed the ci/lint-dprint-reliability branch from 05dbc36 to 631f2ff Compare June 18, 2026 12:27
@DevSecNinja DevSecNinja changed the title ci(lint): fix dprint hangs — cache plugins, scope mise installs, add timeouts ci(lint): scope mise installs and add job timeouts Jun 18, 2026
@DevSecNinja DevSecNinja merged commit 1466779 into main Jun 18, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant